package com.example.demo.utils;

import com.sun.org.apache.bcel.internal.generic.RETURN;

import java.util.UUID;

public class UUIDUtil {
    /*生成一个标准的UUID*/
    public static  String UUID_36(){
        return UUID.randomUUID().toString();
    }
    /*生成一个32位的UUID*/
    public static String UUID_32(){
        return  UUID.randomUUID().toString().replace("-","");
    }
}
